home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Education
/
World of Education.iso
/
world_p
/
pclearn.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-05-24
|
11KB
|
296 lines
ECHO OFF
CLS
ECHO PC-LEARN Installation program
ECHO ---------------------------------------------------------------
ECHO PC-LEARN must first be installed prior to running the program.
ECHO Installation will take only one or two minutes . . .
echo Installation diskette should now be in the A: floppy drive.
echo Installation does NOT adjust CONFIG.SYS or AUTOEXEC.BAT.
ECHO ---------------------------------------------------------------
ECHO For maximum speed and full color menu system, install to
echo a hard drive system! If you install to standard 360K floppies
echo you will need TWO FORMATTED FLOPPIES PRIOR TO PROCEEDING. The
echo high speed color menu system will not be available to those
echo installing to standard low density 360K floppies . . .
echo ---------------------------------------------------------------
ECHO Press A if installing to ONE HIGH DENSITY FLOPPY (720K, 1.44M, 1.2M)
ECHO Press B if installing to HARD DRIVE (preferred option)
echo Press C if installing to TWO standard LOW DENSITY 360k floppies
ECHO Press Q to quit or abort process
ECHO ---------------------------------------------------------------
inkey ,Q81,q81,C67,c67,B66,b66,A65,a65/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 67 GOTO LABELC
IF ERRORLEVEL 66 GOTO LABELB
IF ERRORLEVEL 65 GOTO LABELA
:labelc
CLS
echo ------------------------------------------------------------
ECHO Installation will produce TWO floppy diskettes on TARGET
echo drive B: Next step assumes SOURCE drive A: contains files
echo to be unpacked and TARGET drive B: contains a blank formatted
echo diskette of standard 360K size. Have a second diskette ready.
echo ------------------------------------------------------------
pause
cls
lharc x a:pcl.lzh b:\ readme bonus.tut intro.tut history.tut dos1.tut
lharc x a:pcl.lzh b:\ dos2.tut batch.tut usergrp.tut virus.tut tips.tut
lharc x a:pcl.lzh b:\ go1.bat view.com inkey.com newpc.tut support.tut
b:
ren go1.bat go.bat
a:
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "PC-LEARN PART ONE, start with: GO at DOS prompt"
echo When you have finished labelling the first diskette,
ECHO insert second formatted blank floppy diskette into
echo drive B: and press a key to proceed installing part two.
echo --------------------------------------------------------------
pause
cls
lharc x a:pcl.lzh b:\ modem.tut glossry.tut bibliog.tut software.tut
lharc x a:pcl.lzh b:\ wordproc.tut spread.tut database.tut share.tut
lharc x a:pcl.lzh b:\ equipmnt.tut displstd.tut hardrive.tut author.tut
lharc x a:pcl.lzh b:\ go2.bat view.com inkey.com
b:
ren go2.bat go.bat
a:
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "PC-LEARN PART TWO, start with: GO at DOS prompt"
echo When you have finished labelling the second diskette,
echo press a key to end installation process and return to DOS.
echo --------------------------------------------------------------
pause
goto quit
:LABELB
CLS
REM Hard Drive setup
ECHO ---------------------------------------------------------------
ECHO Hard drive installation will prepare a directory named \PCL on
echo your hard drive and install files to that area. Installation
echo program assumes drive A: contains PC-LEARN and is the SOURCE
echo DRIVE. Hard drive will be the TARGET drive to which files will
echo be unpacked. If you have an old copy of PC-LEARN on your hard
echo drive which is important to you, you may wish to quit/abort
echo and backup that older copy for archival purposes first.
ECHO ---------------------------------------------------------------
echo What hard drive letter will you install TO as your target?
ECHO ---------------------------------------------------------------
echo press C for Hard drive C:
echo press D for Hard drive D:
echo press E for Hard drive E:
echo press F for Hard drive F:
echo press G for Hard drive G:
echo press Q to quit
inkey ,Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 71 goto hdg
IF ERRORLEVEL 70 GOTO hdf
IF ERRORLEVEL 69 GOTO hde
IF ERRORLEVEL 68 GOTO hdd
IF ERRORLEVEL 67 GOTO hdc
:hdc
cls
C:
CD\
MD PCL
ECHO If a previous version of the PC-LEARN package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
lharc x a:PCL.lzh C:\PCL\
del c:\pcl\go1.bat
del c:\pcl\go2.bat
del c:\pcl\view.com
del c:\pcl\inkey.com
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run PC-LEARN change to your hard
echo drive subdirectory C:\PCL then PCL to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo C: Then press return/enter key
echo CD\PCL Then press return/enter key
echo PCL Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
inkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO abort
GOTO QUIT
:hdd
cls
D:
CD\
MD PCL
ECHO If a previous version of the PC-LEARN package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
lharc x a:PCL.lzh D:\PCL\
del d:\pcl\go1.bat
del d:\pcl\go2.bat
del d:\pcl\view.com
del d:\pcl\inkey.com
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run PC-LEARN change to your hard
echo drive subdirectory D:\PCL then PCL to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo D: Then press return/enter key
echo CD\PCL Then press return/enter key
echo PCL Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
inkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO abort
GOTO QUIT
:hde
cls
E:
CD\
MD PCL
ECHO If a previous version of the PC-LEARN package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
lharc x a:PCL.lzh E:\PCL\
del e:\pcl\go1.bat
del e:\pcl\go2.bat
del e:\pcl\view.com
del e:\pcl\inkey.com
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run PC-LEARN change to your hard
echo drive subdirectory E:\PCL then PCL to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo E: Then press return/enter key
echo CD\PCL Then press return/enter key
echo PCL Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
inkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO abort
GOTO QUIT
:hdf
cls
F:
CD\
MD PCL
ECHO If a previous version of the PC-LEARN package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
lharc x a:PCL.lzh F:\PCL\
del f:\pcl\go1.bat
del f:\pcl\go2.bat
del f:\pcl\view.com
del f:\pcl\inkey.com
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run PC-LEARN change to your hard
echo drive subdirectory F:\PCL then PCL to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo F: Then press return/enter key
echo CD\PCL Then press return/enter key
echo PCL Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
inkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO abort
GOTO QUIT
:hdg
cls
G:
CD\
MD PCL
ECHO If a previous version of the PC-LEARN package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
lharc x a:PCL.lzh G:\PCL\
del g:\pcl\go1.bat
del g:\pcl\go2.bat
del g:\pcl\view.com
del g:\pcl\inkey.com
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run PC-LEARN change to your hard
echo drive subdirectory G:\PCL then PCL to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo G: Then press return/enter key
echo CD\PCL Then press return/enter key
echo PCL Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
inkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO abort
GOTO QUIT
:LABELA
CLS
echo ------------------------------------------------------------
ECHO Installation will produce one floppy diskette on TARGET
echo drive B: or TARGET drive D: which MUST be one of following the
echo size(s): 720K, 1.44M, 1.2M. Next step assumes SOURCE drive A:
echo contains files to be unpacked and TARGET drive B: or D:
echo contains a blank formatted diskette LARGER than 360K.
echo ------------------------------------------------------------
echo press B for Floppy drive B:
echo press D for Floppy drive D:
echo press Q to quit
echo ------------------------------------------------------------
inkey ,Q81,q81,D68,d68,B66,b66/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 68 GOTO fd
IF ERRORLEVEL 66 GOTO fb
:fb
cls
lharc x a:pcl.lzh b:\ *.*
del b:go1.bat
del b:go2.bat
del b:view.com
del b:inkey.com
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "PC-LEARN, start with: PCL at DOS prompt"
echo --------------------------------------------------------------
pause
goto quit
:fd
cls
lharc x a:pcl.lzh d:\ *.*
del d:go1.bat
del d:go2.bat
del d:view.com
del d:inkey.com
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from D: drive, label it:
echo "PC-LEARN, start with: PCL at DOS prompt"
echo --------------------------------------------------------------
pause
goto quit
:QUIT
CLS
ECHO Installation of program now complete.
ECHO Be sure to register or subscribe - support the shareware concept.
ECHO Two bonus disks will be sent by mail to those registering!
GOTO END
:ABORT
cls
ECHO Installation process aborted
:END